//
//  CQURL.h
//  financeCompany
//
//  Created by runo on 16/5/18.
//  Copyright © 2016年 com.runo. All rights reserved.
//

#import <Foundation/Foundation.h>
@class showInfo;
@class UIView;
#define ServerUrl @"http://192.168.1.100:8050/WebApi/"
@interface CQURL : NSObject

+(NSString *)getPostURL;


+(NSString*)ToJson:(id)obj;
+(id)FromJson:(NSString*)jsonStr;
+(NSString*)FromJsonStr:(NSString*)jsonStr;
+(NSString *) jsonStringWithString:(NSString *) string;
+(NSString *) jsonStringWithArray:(NSArray *)array;
+(NSString *) jsonStringWithDictionary:(NSDictionary *)dictionary;

+(showInfo*)showLoding:(NSString *)message TargetView:(UIView*)view;
+(void)hideLoading:(showInfo*)info;
@end
